﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PBKVideo
{
    class RequestWebServiceState
    {
        private System.Net.HttpWebRequest _request;
        private SearchBar.VideoHosts _videohost;
        private bool _aborted;

        public RequestWebServiceState(System.Net.HttpWebRequest req, SearchBar.VideoHosts host, bool aborted)
        {
            _request = req;
            _videohost = host;
            _aborted = aborted;
        }

        public System.Net.HttpWebRequest Request
        {
            get
            {
                return _request;
            }
        }

        public SearchBar.VideoHosts VideoHost
        {
            get
            {
                return _videohost;
            }
        }

        public bool HasBeenAborted
        {
            get
            {
                return _aborted;
            }
            set
            {
                _aborted = value;
            }
        }

    }
}
